//
// Created by 28365 on 2025/3/5.
//

#ifndef ODUPDATERSDK_PREUPDATEEVENT_H
#define ODUPDATERSDK_PREUPDATEEVENT_H


#include "UpdateEvent.h"

class PreUpdateEvent : public UpdateEvent{

private:

    bool cancel = false;

public:

    PreUpdateEvent(Res *res, int version);

    [[nodiscard]] bool isCancel() const;

    void setCancel(bool cancel);

};


#endif //ODUPDATERSDK_PREUPDATEEVENT_H
